<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link href="/style/cssMain.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/style/jQuery.js"></script>
    <script type="text/javascript" src="/style/jsMain.js"></script>
  </head>
  
  <body>
    <div id="eBody">
      <div class="eTitle">小店管理</div>
      <div class="eTag">
        <ul>
          <li class="eSelected"'><a href="<?php echo site_url('mang/applystreet'); ?>">所有内容</a></li>
        </ul>
      </div>
      <div class="eSheet eBorder">
        <form id="Romeo" method="post">
        <div class="eList">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr class="title">
              <td>小店名称</td>
              <td>小店地址</td>
              <td>营业时间</td>
              <td>电话</td>
              <td>小店风格</td>
              <td align="right" width="80">操作</td>
            </tr> 
            <?php foreach ($storeList as $store):?>
             <tr>
              <td class="title"><?php echo $store['name']?></td>
              <td class="title"><?php echo $store['address']?></td>
              <td class="title"><?php echo $store['bustime']?></td>
              <td class="title"><?php echo $store['phone']?></td>
              <td class="title"><?php echo $store['style']?></td>
              <td align="right" width="100"><a  href="<?php echo site_url('mang/store/edit?id='.$store['id'])?>">编辑</a>&nbsp;
              <a  href="###" onclick="javascript:deleteStore('<?php echo $store['id']?>');">删除</a>
               </td>
            </tr>
            <?php endforeach;?>
           
          </table>
		 
        </div>
        </form>
      </div>
    </div>
    
    <script type="text/javascript">
    	function deleteStore(storeId){
			if(confirm('你确定要删除小店吗？')){
				
			}
        }
    </script>
  </body>
</html>
